# -*- encoding: utf-8 -*-
'''
@File    :   5.py
@Time    :   2022/11/09 23:11:30
@Author  :   Cms 
@Version :   1.0
@Contact :   2267000140@qq.com
@WebSite    :   www.baidu.com
'''

# here put the import lib

'''
5 文件编程小项目
'''

with open(r"homework3\\Blowing in the wind.txt","r+") as f:
    old = f.read()
    f.seek(0,0)
    f.write("Blowin'in the wind\tBob Dylan\n"+old)
    f.write("\n1962 by Warner Bros.Inc.")

with open(r"homework3\\Blowing in the wind.txt","r+") as f:
    print(f.read())